<template>
  <div class="login_container" v-bind:style="{display:loginContainerState}" @click="changeLoginlayer('none')">
    <div class="login_fiex">
      <div class="login_input_div">
        <div class="login_top">
          <span class="login_tab_active" v-on:click="showingLoginForm">登录 </span>
          <span>  / 注册账号</span>
        </div>
      </div>
      <div class="login_user_info">
          <div class="user_card">
              <img src="http://v.bootstrapmb.com/2019/11/7pk786581/images/pic2.jpg" alt="">
              <p class="user_name">Welcome</p>
              <ul class="user_info_list">
                  <li><label>显示字段：</label>值</li>
                  <li><label>显示字段：</label>值</li>
                  <li><label>显示字段：</label>值</li>
                  <li><label>显示字段：</label>值</li>
              </ul>
          </div>
      </div>
    </div>
  </div>
</template>
<style scoped>
.login_container {
  z-index: 11;
  width: 100vw;
  height: 100vh;
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0px;
  position: fixed;
}
.login_fiex {
  display: flex;
  width: 960px;
  height: 500px;
  margin: auto;
}
.login_input_div {
  background-color: var(--theme_vary_color);
  padding: 20px;
  box-sizing: border-box;
  width: 60%;
}
.login_top span{
    font-size: var(--usual_title_size);
    cursor: pointer;
    color: #999;
}
.login_top span.login_tab_active{
    color: var(--theme_color);
}
.login_user_info {
  width: 40%;
  height: 100%;
  background-image: url(http://v.bootstrapmb.com/2019/11/7pk786581/images/pic3.jpg);
  background-size: 100% 100%;
}
.user_card img{
    width: 150px;
    display: block;
    height: 150px;
    border-radius: 75px;
    margin: 40px auto 30px auto;
}
.user_name{
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: bold;
    color: var(--theme_vary_color);
}
.user_info_list{
    color: var(--theme_vary_color);
    width: 80%;
    font-size: 18px;
    margin: auto;
}
.user_info_list li{
    margin: 10px auto;
}

@media (max-width:1000px) {
    .login_fiex {
        width: 100%;
    }
}
</style>
<script>
export default {
    data(){
        return{
            loginContainerState:'flex'
        }
    },
    methods:{
        showingLoginForm(){
        },
        changeLoginlayer(state){
            this.loginContainerState=state
        }
    }
};
</script>